﻿using Adnc.Application.Shared.Dtos;
using Adnc.Application.Shared.Services;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using WYT.Sys.Application.Contracts.Dtos.Encyclopedia;

namespace WYT.Sys.Application.Contracts.Services
{
    /// <summary>
    /// 百科
    /// </summary>
    public interface IEncyclopediaAppService : IAppService
    {
        /// <summary>
        /// 获取分组
        /// </summary>
        /// <returns></returns>
        Task<AppSrvResult<List<EncyclopediaGroupDto>>> GetGroupList(string language);

        /// <summary>
        /// 获取
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<AppSrvResult<PageModelDto<EncyclopediaContentDto>>> GetContentList(SearchPagedDto<long> input);
    }
}
